{template 'ushop/member', 'header'}
<div style="width:1200px; margin:auto; overflow:hidden;">
    <form name="form1" method="post" action="" id="form1">
        <div class="Main">
            <div id="Position" class="margin_b6" style="height:25px; line-height:25px; margin-bottom:1px;"> <a href="{APP_PATH}index.php?m=ushop">首页</a>&nbsp;&gt;&nbsp;<a href="{APP_PATH}index.php?m=member&c=index">我的ushop</a>&nbsp;&gt;&nbsp;<span>账户信息</span></div>
            <div class="right">
                <div class="o-mt">
                    <h2 style="background-color:#FFF;">订单中心</h2>
                </div>
                <div class="m m5" style="border:#E6E6E6 solid 1px;" id="myorder">
                    <div class="form search-01">
                        <div style="height:40px; width:795px; overflow:hidden; padding-top:20px; padding-left:20px; padding-right:20px;">
                            <div class="fl" style="width:auto; margin-right:10px;">
                            	<style>#start_time,#end_time { float:none;}</style>
                                {L('time')}:{form::date('search[start_time]',date('Y-m-d'),'')} {L('to')} {form::date('search[end_time]',date('Y-m-d'),'')}
                            </div>
                            <div class="fl">
                                订单编号:<input id="ip_keyword" name="search[ip_keyword]" type="text" style="width:120px; margin-right:8px; color:#333; float:none;" />
                                <input name="dosubmit" type="submit" value="查 询" style="height:25px; margin-top:-3px; float:none;" class="bti" />
                            </div>
                        </div>
                    </div>
                    <div class="tb-void tb-line">
                        <table cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <th width="12%">订单编号</th>
                                <th width="10%">收货人</th>
                                <th width="12%">订单金额</th>
                                <th width="16%">下单时间</th>
                                <th width="16%">订单状态</th>
                                <th width="10%">操作</th>
                            </tr>
                            {loop $infos $info}
                            <tr id="track122910269" onmouseover="this.style.background='#F7F7F7'" onmouseout="this.style.background=''">
                                <td style="padding:8px;">
                                    <a target="_blank" href="index.php?m=ushop&c=user&a=order_detail&order_id={$info['order_id']}" >{$info['order_sn']}</a>
                                </td>
                                <td>{$info['consignee']}</td>
                                <td>￥{$info['goods_amount']}</td>
                                <td>{date('Y-m-d H:m:s',$info['shipping_time'])}</td>
                                <td>{$info['order_status']}&nbsp;&nbsp;{$info['shipping_status']}&nbsp;&nbsp;{$info['pay_status']}</td>
                                <td id="Td1" class="order-doi"> 
                                	<a target="_blank" href="index.php?m=ushop&c=user&a=order_detail&order_id={$info['order_id']}" >查看</a>
                                </td>
                            </tr>
                            {/loop}
                            <tr>
                                <td  colspan="7" class="td-03">
                                <div class="ar ftx-03"> 
                                    等待付款订单数：<strong class="ftx-01">{$awaiting_payment_orders}</strong>&nbsp;&nbsp;
                                    未完成的订单数：<strong class="ftx-01">{$outstanding_orders}</strong>&nbsp;&nbsp;
                                    已完成的订单数：<strong class="ftx-01">{$completed_orders}</strong>&nbsp;&nbsp;
                                    订单总数：<strong class="ftx-01">{$all_orders}</strong>&nbsp;&nbsp; 
                                </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
            {template 'ushop/member', 'left'} 
        </div>
    </form>
</div>
{template 'ushop', 'footer'}